'''
    @Author:webrainer
    @Date:today
    @Version:
    @Since:python3.11
    @See:
    @Description:redis连接模块，实现股票数据缓存基本功能
    @Functions:
'''

import redis
class Redis:
    def __init__(self):
        self.host = 'localhost'
        self.port = 6379
        self.db = 0